<%-- 
    Document   : dao2
    Created on : 2014/8/20, 下午 02:12:04
    Author     : Felix
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%
    dao.BaseDAO y = new dao.BaseDAO();
    String sql="update person set username=?, tel=?, birthday=? where id=12";//sql修改語法
    String ary[]={"Dog","03-1236549","1987/02/03"};
    int x = y.modify(sql, ary);
    
    %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello Dao2!</h1>
        <%= x %>
    </body>
</html>
